Cleaned the code a bit. Fixed the extension bit masks.
Added support for automatic actions.
Changed rotation amount when a ROTATE_90 message is received.
Merge branch 'develop'