Is there any way I can have the constructor return to main at particular point? I'm creating a window within that constructor, but want it to return to main if it fails to do so.
Yup, the constructor will return to where it was called from.
If you need to detect if an error occurred in a constructor, have the constructor raise an exception and place a try/catch block around where the constructor is called.