Fixed single mode segfault and updated makefile
Merge pull request #2 from badassmofo/develop

Fixed single mode segfault and updated makefile