added startup sleep to allow tmux to create all panes before continuing, set to 15 seconds, seems even 10 seconds still allowing errors on some systems, moves it before the db initial queries