EE was loosening oil plug to do preventive maintenance on engine & when doing so, wrench slipped out of plug resulting in his hat coming off his head, out of reach. He proceeded to loosen drain plug to drain oil & after oil started draining he proceeded to crawl out from under loader when he raised up too early & hit his head on bottom of counterweight on back of loader.