updates to docs
Doctest
Refactored handling of arg_ids, and fixed associated bug. Updated logging for applicable()
Fiddling with plotting
Restored stream call. Added docstring.
Trying to get svg out
draw()
minor edits
minor tweaks