updated code, mostly mesif
initial fixes of things talked about
new mesif code, some more fixes
Merge pull request #6 from ddenhart/master

get most recent code