Multiple changes

Fix tileset animations
Fix autosave
Remove some old comments no longer needed
Light cleanup of some C-style Python code