Merge pull request #1 from DrMcCoy/bladerunner

BLADERUNNER: Fix compilation on non-MSVC, from DrMcCoy
BLADERUNNER: Fix invalid delete[]

delete[] -> delete. It's a single pointer, not an array.
BLADERUNNER: Fix invalid read

Conditions are evaluated left to right. If you want short-
circuiting to protect from invalid read, you have to do the
range checks before the pointer dereferencing.