Added delays in certain places and hooked up checking for collision.