Add Logger and MessageBox module. Rewrite all writeln and Exceptions to Logger  instructions.

Disable again the Depth Test in Window. Indent code.
Fix Memory Leak in shared_ptr.

The destructor method was not called right after the usage counter
decreased to 0 or below.
Add and update Documentation.