SGR code robustness

* multiple blank ; handeling
* precision handeling
0+ code blank tag fix

"00", "000" is tagged which is actually 0.