Cleaned up cabal file and fixed compiler warnings.