Adding to gameloop and display integration