added editor to make editing the map easier
capture key down to set transtions