fixed qgc and some more improvements to core