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.
Merge pull request #2 from DrMcCoy/bladerunner

BLADERUNNER: Fix invalid memory shown by valgrind