Got some error checking and spinning

About to start final function execution, shouldn't be too hard...