Complete removal of static context/package/thread references

* further removal of static context references
* remove threading references to UI Handler
* type-hint Context parameters generously

!! breaks resource data readers in current state !!