The shape now moves according to accel/mag sensors
Implemented basic exception handling