add error checking for build. fix read pause issue. exclude .svn in diff