cleaning up menu behavior in anticipation of the use of tables.