Html entity handling improved. Fixed a bug in source that caused segmentation fault...