Add undo / redo buttons
Visually distinguish unsaved tabs
Allow change tabs using hotkeys (CTRL + TAB or CMD + NUM)
Add rownum into the query result