More Warnings

Last week I took it easy, this week I wanted to do the same and catch up on reading. None of it would help this project, but it was fun. Code wise, I turned on warnings that are off by default and caught a few bugs, most of them involving files larger than 32bits