Made lots of stuff work now. Shifted checkbox processing to the client side so we can add the data to a post request. Needs error handling. And possibly less for loops.