Issue #151 Small refactoring.
Issue #151 Modified reprogramming code so it won't flash if the page hasn't changed.
Probably not useful for develop, but will reduce flash wear a lot on the rtc code (since I recompile on every reboot to catch the output, something that shouldn't be in a real release but is quite useful for debugging).