Removed Mac qt app and fixed uninitialized variable