Null is default to 0.  Due to chrome edition using the string 'null' as a value in the xml, also check for that
Fixes issue #31 where the pattern name/desc is blank from the chrome plugin, if blank assume the pattern is the description.