Definitely put the hub on a UPS. There are a few threads on here talking about options. I use this simple/cheap one with a bettery. It works perfectly.
Also regarding hub start-up, you can create a little rule that gets executed when the hub starts up, to check a few things like mode and then sets lights etc accordingly. It's a bit hidden, but you will find it (systemStart) under Location I recall in custom actions.