Cleaning up; multithreaded authenticator; fixed token parse bug