fixed #12; depth/heading toggle fixed

Needs to be tested/reviewed. The old code called the same internal function (deptloff) for both the on and off portion of the toggle. That has been changed.  I also noticed an issue where I was passing the size of the parameter as a value vs the value which is fixed.