Fixed strokethickness box annoyance

it used to fight the user, e.g. replace text with "0", ".", "5" and it
never accepts ".", just does "05" til you go back and insert .
Added grid code