1. Better handling of the ctx object through Py_INCREF/Py_DECREF
2. Autodiscovery of the PYTHONPATH if environment variable not set