Bug fixes; start of realtime