- Add comments to code and to variables related to extension and function loading - Add some debug output - Remove a bit of redundant code - note a potential bug (line 1380)