fixed dereferencing issue in markdown_load() and removed dead code in free_deck(...