Changed chart size
Added limit states buffer size flag
Changed drawing order for pulses