Fix detection of Qt5.
Fix configure message printing order.
Add hotkeys and buttons for Top and Bottom priorities