Adding let, turning on the GHC warnings and fixing the warnings