Menu now sort of works.
Saving and retrieving preferences now works, but menu does not.