Update options, add debugging and memory-check tasks