latest game loop stuff up to date now.