fixes database streaming, optimizes performance, completes styling