Occurence vectors & AutoSave for Gui2D

accidentially thes two pullrequests made it into one... but it's nothing big:

1. adds a autosave pin for Gui2D. if disabled, values are not saved within patch, but the nodes don't lag.

2. occurrence for vetor types