client: Rework main loop.
client: Rework main loop.

Make whole thing more independent from player thread. Not the best solution
yet (not bulletproof ;)), but well...

Vi1i/pianobarfly,DavidZemon/pianobar,gnowxilef/pianobar,johndeeney/pianobar,DavidZemon/pianobar,bmbove/pianobar-save,DavidZemon/pianobar,twahlfeld/pianobar,johnso51/pianobar,gnowxilef/pianobar,gnowxilef/pianobar,johndeeney/pianobar,johndeeney/pianobar,twahlfeld/pianobar,DavidZemon/pianobar,johnso51/pianobar,twahlfeld/pianobar,johnso51/pianobar,DavidZemon/pianobar,johndeeney/pianobar,bmbove/pianobar-save,bmbove/pianobar-save,DavidZemon/pianobar,johnso51/pianobar,johndeeney/pianobar,johndeeney/pianobar,bmbove/pianobar-save,twahlfeld/pianobar,bmbove/pianobar-save,tchajed/pianobar,twahlfeld/pianobar,johnso51/pianobar,gnowxilef/pianobar,Vi1i/pianobarfly,tchajed/pianobar,gnowxilef/pianobar,Vi1i/pianobarfly,tchajed/pianobar,johnso51/pianobar,tchajed/pianobar,tchajed/pianobar,Vi1i/pianobarfly,twahlfeld/pianobar,tchajed/pianobar,gnowxilef/pianobar,Vi1i/pianobarfly