Enhanced _exec and phixed g_energy parser in npt.py.