stabilize some dependencies. initial support for viewer inside viewers