Fixes a compilation error
Adds menu system