Settings, other dialog fixes

- Settings now works
- Import/Export/Settings popup dialogs
- custom forward/backwards keys respected