GCS:connectionmanager make device a smart pointer to prevent crashes
GCS:main fixes the redraw of the spashscreen on some systems
Merge pull request #1150 from guilhermito/gcs_fixes

Gcs fixes