Merge pull request #267 from benjello/dev

Fixing bug in load_survey and debugger