enabled extra warnings, and fixed all thewarnings that popped up