load and save functions finished. need a bit of re-touching. kill me plz.