Cleanup some warnings and reuse some vars.
Fix some misc. warnings.
Fix some misc HLE warnings.
Merge pull request #733 from unknownbrackets/warnings

Warning fixes