GCC warning fixes.
Added Rules.txt aliases.
Synched some code with TileZed.
Fixed incorrect copying of templates in CopyPasteDialog.
Fixed crash in CellScene when reloading a map.