Merge pull request #527 from ey6es/gyroquat

Function cleanup, fixed misspelling, transparency fix.
Added configurable lean scale, fixed loadSetting.