Documented the Queue classes methods, minor fixes.