Removed Thread.sleep as it was slowing FPS down to about 20 from over 5000.