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.
Even more refactoring.
Merge pull request #3425 from Giacom/fix_magboots

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