Whitespace
Accidental assignment ?
Removed unused functions
Merge pull request #720 from aodn/some_fixes

Some fixes found while investigating issues