Various layout fixes, saving selection, highlighting symbol under cursor.