Remove windows specific pragma
Fix -Wchar-subscripts

Don't use potentially signed chars for array indexes :P
One unsighed comparison left out
merging warnings
merged warnings