Bug Fixes

-Rebuilt with changes for mono compatibility.