use global properly
removing shadowing of built in function
changing step size to slow down listener
error passing listener around
fixing a bug in the error checking
changing the name of the outofrange stream
fixing variable declaration
allowing lobby listener to take an argument
removing some logging