Fixed some issues (mostly related to variable names and instruction texts) and added support for number of strokes.