Add parent node null checks. Fixes #258, fixes #187

Also removed unnecessary hud_enabled booleans from persistence