Got stuff to compile and fixed warnings.