Better version change detection (fixes #808, fixes #810)
Restarting monitor process is still considered a restart (fixes #809)