Fixing more shadow warnings
Provide OS-independent text manipulation function names
Some globals cleanup
Fixes for projectiles count global
Introduced transparency setting (will be configurable)