Merge pull request #25 from tmoc/tom

Made app history safe.
Fixed bugs. Video always turns off now when leaving a room. Room check interval always gets cancelled when out of the lobby.