When grabbing the H value with the mouse and moving the mouse to increase the value, I hit the maximum value and the program crashed. I've tried it again to make sure, and it does the same thing: Program freezes and Windows reports it as unresponsive.
You might need to clamp that value between 0 and 359.
Loth