Merge pull request #1 from jgraup/master

Adding isset checks and fixed the $output in buildCheckFields
Using null instead of 0 for missing menu position.

Using 0 forced the options to the top of the list. Adding null is a better default behavior.