Bugfix to api faster than overlay in init
Added general support for dynmic theme parsing