really primative image support, closes issue #2, also added rebuild command-line argument that re-creates all static files from original IMAP source