Switched NSAlert to NSLog for errors. Bug fix for trial to no trial issue