Final bug fix

Formdata function removed from save.php
couple minor bug fixes for previous commit