Tile Dictionary problem fixed

-Cleans the dictionary each time before initialising it. This solves the
reloading issue.
-Added Brent's proper quit code. This solves the application not
quitting properly.