Fix a resource leak in nixprof.cpp.
Do index testing before actually accessing the array pointers with it in function tryfit() in newdc/rend/gles/gles.cpp.

Technically only the i<128 checks matter, but moved them all 'forward' in the if statements for consistency.
Fix a typo in a function name in newdc/cfg/cfg.cpp. Should be ParseFile, not PaseFile.
Fix a printf statement in newdc/hw/sh4/sh4_mmr.cpp. Only specified the write address in the statement, however the data was also passed too.
Fix accidental wrong comparison in newdc/hw/sh4/dyna/shil.cpp. '==' has a higher precedence than '&'. Since v is tested for equality in the initial if statement header (if (v >= 0)) this was likely an error, and the parenthesized expression was meant to be used.
Remove a duplicated boolean expression from function srt_waw() in newdc/hw/sh4/dyna/shil.cpp.
Fix precedence order in newdc/hw/sh4/dyna/decoder.cpp. && has a higher precedence than ||. Considering the || left and right expressions test for similar things, I believe this was the intent.
Fix an array overflow possibility in gldraw.cpp. Vertex's col array is only has a size of 4 not 8.
Fix an incorrect swap in newdc/hw/aica/aica_if.cpp. tmp should be assigned to dst, not src, because as it was before it was the equivalent of "dst = dst;"
Fix incorrect memcpy source string in function PatchRegion0 newdc/imgread/common.cpp. Defined as a length of 8, but was actually 11.

Also fixed some typos in the logging messages.
Merge pull request #17 from lioncash/master

Misc fixes