fix issue with remote plot and add fix for opengl