remove unused define
sweep the dojo
perform fullscreen operation on the main thread