Fixing copyright notice on many files. Changed some tracing levels. A lot of formatting, fixing documentation etc. as usual.