Import main object to window
Text fix