Fixing Git

Made a bunch of smaller changes which I documented but GIT decided not
to sync.

Mostly architecture updates; a lot of improvements made to the way that
the thumbnails are handled and a better way for the PDFTabManager to be
controlled by the ActivityTabManager.