* fixed few potential errors (for example freeing new[] with delete with no [])
* reverted GetTickCount64 (only on vista+)
* oops, forgotten syntax of delete[]
+ fixed mismatched delete[]