original resources imported; resize main window from lua.