mainbase now uses pimpl idom, fixed includes in mainbase.h
added new version to download