ApplicationMenu hide footer if empty

Also hide the area at the right of the application menu button