The quick thinking of patrons prevented a deadly shooting in Colorado from being even worse, officials say.