added generic queue / added debugging stuff
edited readme