Fix saving of Initial and Maximum memory/ram being switched around