Ignore editor tmp files
Added a 1ms sleep to improve performance. Pygame does not support blocking mode (desired).