Looked at errors thrown for form submit in main.php

mainly stemming from unfinished load recognition code