Rearranged titlebar elements on the table, added a test mode