few fixes to make it possible to reinitialize player after complete shutdown, without restarting process