Gate Event Listener Fix

Interacting gate now listed inside a global object for easy access to its id in event functions. Gates need to be built properly still and removed between levels