Various updates

Better logging system.  Fixed physics drawer.  New camera features. Some
useful math functions. Change in code style. Bugfixes.