changed header formatting, added check for minecraft running