Finally no more compile time errors

I finally got rid of all the complie time errors. Now to get everything
workin together...