Add some controls to JuliaScene.

Pressing space will toggle the function. Up/down keys change the number
of iterations, and 'd' toggles the debug info.