added window setup function
made the translation window function always maximize frame