Some refactoring to make type names consistent.

git-svn-id: http://maxmods.googlecode.com/svn/trunk@1583 b77917fb-863c-0410-9a43-030a88dac9d3
Initial stream support.

git-svn-id: http://maxmods.googlecode.com/svn/trunk@1584 b77917fb-863c-0410-9a43-030a88dac9d3