Cleaned up main executable.