Issue #5 Clean up and randomize stroke settings.

Minor refactoring. Randomize stroke settings like cap, join style,dash style