Flashing of FW version at shutdown. Added licence info.