Added queue for requests so muliple client requests will work. Added a debug checkbox to turn on debug output. Fix a problem where only the first auth request was working (partial queue code commited earlier)