add terminate option to reload
fix formatting
Merge pull request #1 from otherinbox/pw/terminate

add terminate option to reload