add some new functions
improve turning on of dual monitor