Kelp was a major product in medieval Scotland and widely used in the soap and glass industries - first used in soap then the waste used in glass. The Scots also made extensive use of ferns and seaweed to obtain glass ingredients.
http://en.wikipedia.org/wiki/GlasswortNot the reason early glass was often green though!