BUG: fix Testing with python on linux and pop ups on mac/win

Compare view:
http://github.com/NIRALUser/DTIAtlasBuilder/compare/f674b51...a399dbd