Minor changes to basic compass demo