added tut support and some quick bug fixes
tut support and quick bug fixes