Some cubescript commands, unify main.cpp a bit more with tesseract