Got rid of exception error for desktop main return value.