Task cleanup

Fixed all the async/await warnings, and then all the other build warnings too.