Added basic gameloop onTick logic.