pd step 2 (working very well, various gui things and loading/saving remains)