Show the firmaware version in the UI as well
Updated the upgrade script
Tidied up and made the firmware version code work