added check for existing isntance of app in program, close instance when found
added check for existing isntance of app in program, close instance when found

BigRoy/maya-capture-gui,Colorbleed/maya-capture-gui