Subclass QApplication to catch exceptions in handlers.
test/CMakeLists.txt: Fix build.
Use a generic approach when adding the "close on enter" hook for popups
Generic auto-focusing for first line edit of popup