Fixed issues with load order, plugin hooks, and escape code