Changed MidasEvent print / rearranged parsing in the main loop a bit.