provide origin component to plug/unplug operations
update documentation for new plug/unplug extra options, consistently use parenthesis when referencing methods and remove trailing blanks
cleanup PDF generation procedure
give more information back on spooled(): return the number of spooled operations/actions instead of just a boolean
auto-unspool pending actions on state leave because this is even more convenient than just having to provide a leave method with a single unspool() call all the time. Partially contributed by Christian Vaas.
remove now unused variable