Formatting fixes, readded the lost memory check update.