First commit. Original release based on mgs 5.02-2007.