Fix compiler warnings
Update project to recommended settings