Removed piece manager's useless maps, and fixed some bugs at downloader.