Basic core/UI split for the scene inspector plugin.

Still dysfunctional remotely though.
Make scene and item selection work remotely.
Fix item selection inside the application, and clean up porting remains.