Added writeQueue, more comments

writeQueue can be used for writing additional information to the
internal queue. This should aid in finding the cause of a crash when
Python's traceback isn't detailed enough. Also, increased size of queue
from 25 to 50 entries.