Set guioptions only once. Fixes issue with tabs.