Implemented support for multiple frame viewer windows (WIP: copy to clipboard is broken!)