Oh man, that could've been bad. Glad all is relatively okay.
You may want to add a battery backup to the router, modem, and potentially the apex brain (using an plug for the brain only). Those 3 won't suck a lot of power from the bb and will let you know when the generator goes out.