Added real-time png streaming.
Small refactor + added png streaming.