more cleanups and a new menuconfig generator