Adds rubbish realtime functionality
Corrects file encoding in rubbish realtime code