fixed double refresh when clicked on clear or random button
added running indication to document title
fixed index error while pattern is copied to current generation
added buttons to manipulate properties