Asynchronous retrieval of developer mode status

Now only needs implementation of all the hooks in the worker.