update to today's lib

this still needs some TLC, the menu is not currently showing for some reason. @nilclass do you want to have a look at it? you seem to have a better idea of how this code works.