Pretty code

The code only has 2 medium warnings that cannot be easily addressed (or I don't know how).
There are 75 low warnings, but 68 of them are from code in comments. I propose we leave those until later.
Also, this passes documentation standards
@gsolbeck 
@Dima4ka