Clean input stream before calling RS functions from UI
Merge pull request #42 from collinday/bugfix/33

Clean input stream before calling RS functions from UI