add cursor on main window
Single dependency for init