Add Qt 5 compatibility
Open and save files in the home directory by default
Add undo (closes #12)