"Advanced" functionality in the editor

Added features:
- Copying tiles
- Flipping tiles
- Better naming of sheets
- Better GUI code that is easy to extend (adding buttons like clear tile, new sheet, etc would be easy to add)

Bug fixes:
- Rendering bugs related to cursor
- Order of cursor movement and drawing when dragging sometimes not filling a pixel