Correct Circle-handling

Single-command circles were getting rendered as 0-degree arcs. Also
linked controller min-arc/arc-length settings to visualization
calculations.
Manual merge of estimation changes

Estimation using GRBL simulator (tweaked build with buffering disabled).
A lot of little things changed so that the file is preprocessed only
once. Alignment of command state updates to the UI are also fixed. The
estimation changes will only work for x86, so will need to be adjusted
before suitable for merge to master.
Put console message updates inside EventQueue.invokeLater, so that UI updates are performed by the UI thread.
Remove stray references.
Merge pull request #113 from michmerr/visualizer

Correct Circle-handling
Merge pull request #134 from zamfi/master

Put console message updates inside EventQueue.invokeLater
Another left-over reference
Changes to build under NB

These should only be the changes required to use StringUtil. There are
other changes in my local environment to include rxtx files in my
environment that are excluded from this commit.
Fix case where failed connection allows estimation to run on file load
Short out estimation

Just until support is added for cross-platform and multiple GRBL
versions.
Merge branch 'master' of github.com:winder/Universal-G-Code-Sender

Conflicts:
	pom.xml
	src/com/willwinder/universalgcodesender/gcode/GcodeParser.java
Bug fixes.
1) Visualizer should be usable without connecting to controller.
2) Visualizer must segmentize all arcs.
3) Grbl preprocessor wasn't appending preprocessed commands.
4) Couple unit test fixes.
Merge branch 'master' of https://github.com/winder/Universal-G-Code-Sender

Conflicts:
	pom.xml
	src/com/willwinder/universalgcodesender/AbstractController.java
	src/com/willwinder/universalgcodesender/MainWindow.java
	src/com/willwinder/universalgcodesender/gcode/GcodeParser.java
	src/com/willwinder/universalgcodesender/visualizer/GcodeViewParse.java
	src/com/willwinder/universalgcodesender/visualizer/VisualizerCanvas.java
	test/com/willwinder/universalgcodesender/GcodePreprocessorUtilsTest.java
	test/com/willwinder/universalgcodesender/GrblControllerTest.java