Rename functions to use pmg prefix; adjust menu styles