Fix initialisation warning.
Suppress warnings in unimplemented functions.

This prevents warnings from functions that are right now just
a throw statement. Also cleaned up a few whitespace issues nearby.
Merge pull request #487 from atgeirr/fix-warnings

Fix some warnings