Add slide advance mechanism, hook into main menu
undefined won't be returned to the server, so set to null instead