Genericization and start of HoleKey and submenu creation