added profile-only output, and beast::init to close stdout