Pong 3.9

Optimized code a bit, added enableFlash function in preparation for
disabling flash mode.