Fixed audio gain setting functionality. Small issue with scaling and clipping.
Added quit message. Fixed rotation bug (divide by 0).