Convert uncaught exceptions to logger messages.
Update tests, logging.

- Fix bug, add GUI tests for clicking on feature buttons.
- Clean up files from tests better. `deleteOnExit` wasn't friendly.
Unused imports + read licenses from the top