more work to support multiple tabs still missing having a single instance of file mene and selecitonbar