Global Update

Global fixes, mem leaks,bugs...
Minor extensions include TileMap and remove depricated files.