Made progres  on fixing bugs.

It won't change the angle when you switch the units with the buttons, but
it will do most other things. I think it's just a little thing, I
just need to move the function call down a teeny bit and it'll work, if
I understand correctly.