Patches to ram calculations, minor bug fixes, version update.