1. Fixed bug where incorrect syntax causes segfault.
2. String parsing improved, lot more stable