Added the eraser tool, altrough is buggy on layer 1.
Fixed a bug with the list of the maps and updated some deprecated functions.