ref #123 fix file loading on startup
ref #123 use phong shading as default, for better compatibility with highlighting
ref #123 fixes and cleanups...

 - delete some includes in headers
 - change rendering type only when necessary