created test mode, made some more UI improvements