Merge pull request #1571 from Spuds/moar

Started with fixing an undefined note
! update how it checks for the magic file key

Signed-off-by: Spuds <spuds@spudsdesign.com>