- small optimization of drawBar() method by removing extra multiplications
+ added overloaded generate() method which takes only text to encode as input
* fixed typo in dialog title