Fixed bugs and implemented redis cleanup, both when exiting cleanly and also on startup if the previous run ended in a crash
Changed dependencies to use custom socket.io adapter and socket.io