removed unneeded automaton->StateCount
BZ implemented
mouse gesture not needed
renamed buttons in ui
removed rterminal
some refinement