clean up unused workspace events and RPC; misc bugfixes
make environment tab load and resize consistently