libaudqt: refactor menu code significantly