trim down menu, modules, and libraries