pip: fix pip border style for pipToMaster()
pip: set media control to the current master
pip: set pipToMaster() on pip click and fix core containers array management (closes #49)