Fix #311 - Replace all Log.v occurrences with Log.d

Also includes some style re-formatting.