House cleaning

Cleans GCS runtime warning and excessive debug output.
Cleans all compile warnings.