Fixed false javadoc.
Will now abort if flag is true. Fix #30
First commit.