Fix spelling mistake.

Signed-off-by: Hunter Skrasek <hunterskrasek@me.com>
Cleanup debug checking

Signed-off-by: Hunter Skrasek <hunterskrasek@me.com>