Refactored webpage stylesheet definitions
Some small initcms changes
Fixed initCms logo generation
Did some cleanup and code style fixes