better integration with tmux to remove the startup flicker

took the idea from https://github.com/dequis/tmux-url-select
first create the tmux window in background, display stuff and then
switch to that window