main window almost done. added translation and resource support