dp111

Results 4 issues of dp111

Return value of 0 = error

I've been making variable names a little more descriptive in MMFS so instead of MA+&1107 -> channeldata_directory_locked . Assembly has significantly slowed down now.

Minor style improvements found by cppcheck.