Fixed some memory leaks
Merge branch 'master' of github.com:raduprv/Eternal-Lands
Allow more editing key functions if the console window active.
Only use the advance and turn keys when in the game window - allowing them to be used for editting.
Merge git://github.com/raduprv/Eternal-Lands