fix some menu bugs, implement menu type enum, correct tower value calculation