ensure clean and consistent "namespace" usage

- remove some missplaced ;
- ensure end of a namespace is clearly visible
- use same formatting when using namespace
What do you suggest? I'd like to add a clarification for this also.

<pre>
// When something fails, return early
if (!Something()) {
    ....
    return false;
} else if(SomethingElse()) {
    ....
    return false;
} else
    return true;
</pre>

or

<pre>
// When something fails, return early
if (!Something())
{
    ....
    return false;
}
else if(SomethingElse())
{
    ....
    return false;
}
else
    return true;
</pre>