Added realtime front end plus various fixes and updates