Resume reading fixed. Close #43

Small fix for JavaFX interface #45
One more improvement for threading #37