optimized buffer initialization
fixed line color glitch
5.3.1