enable compiler warning C4239 (reference to temporary) and fix warnings accordingly

This commit does almost nothing else than enabling the warning
and adding a lot of consts at various places (which is always safe).
enable warning C4245 and fix warnings accordingly
avoid a warning
get rid of some #pragma warning directives
display more sector info in planet bottom view