Type checking fixes. Error message if class with main method not found