Plugin manager: objects -> plugin_objects
Clean constants
A few cleanups, fix load order of dependant plugins