Ok, I found how to build the release version, don't know how I missed that drop down before but somehow I had.
I changed it to release and click compile and run so the app installed and ran on the device and did not exit when I unplugged the USB cable so that is good.
The thing I need to figure out now is how to deploy and install to another device. What steps do I need to take in the IDE, what files do I need to include and just the general process involved here.