work on write call; call almost done but check compiler errors
merging from write commit
Merge branch 'master' of https://github.com/Mindful/os161

 wierd commit issues
merge artifacts
fixed merge stuff, might have introduced ghost bugs