Attached are two patches. The first patch adds the ability to navigate through the query history list using up and down arrow keys. The second patch adds error message to the query detail pane and other minor style changes as discussed with the mailing list.