Commented out history storing since seeing segfaults.