Fixed potential deadlock and added more methods.
The deadlock issue was with the possibility of PrintStored never
terminating because of no way to prevent pending from growing, the
addition of another mutex solves that issue (using the mutex already
there would create deadlocks). "More methods" refers to the methods to
log at other priority levels. "Other methods" will refer to methods like
Printf, if it is requested.