define Luna window HWND before the switch case statements