Fix compiler errors and uninitialized vars
Fix spelling error reported in #660
Display staff notes correctly

Fixes #588