basic debug functionality
IGNORE_CACHE option
better string escaping, resolves #2