Fixed magboots requiring to be turned on and off to correctly set NOSLIP...

... was caused by flags being null, instead of 0.

Refactor'd the magboot code to be more elegant.