first round of cleanups. Still deciding about attachment-side of things.
silly refresh bugs
not sure splitting the attachments is worth it. We'll see.
already, we've finally cleaned everything up
some final bugfixes for v0.4
debug sessions versus regular sessions
ready for v0.4