Getting closer. Appears to be a memory error, still hacking.

Signed-off-by: David Silver <dms.silver@gmail.com>