flag fixes for web interface
Merge pull request #92 from Welchd1/Java-translator

flag fixes for web interface