removed file-level main() statement

used __name__ == "__main__" instead. (update to old code mistakes...)