Lots of bug fixes and realtime updates