added introspection stub support, improved local resource location savoir-faire