Bugfix randomMove and other stuff