Simplified the terminal command
Removed Mac qt app and fixed uninitialized variable
Merge pull request #1 from mrunelov/master

Mini-fork