Several GCS fixes.

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