[Window]: change `show()` method to `open()`

now we have open() and close() methods
[Window]: added `toggle()` function
enhance protopack.js functions
[Input]: using ProtopackWindow as popup