Properly disable connection configuration when connected
Overall better gcode file handling

See #182 and https://groups.google.com/forum/#!topic/octoprint/YnOzyToxfkI