Several GCS fixes.

Fixes:
#800
#524
#422
#303

#303 needs proper testing.
#800 fixed crash but @kubark42 should probably update the GCS settings xml to remove borked instance.