Computers have had journalling filesystems for 25 years now. They should survive a power failure at any point...
So, use that ability! Don't shut anything down gradually - just pull the plug.
In a similar vein, don't worry about properly destructing and unloading everything when shutting down a program... Just call exit(0) and quit.
Journaling saves you from catastrophic filesystem corruption, but it doesn't make sure data that's still in caches has been fully saved to disk. Applications may not have saved their work, and even if they have, the OS may not have written everything out yet.
Journalling prevents corruption of the filesystem itself, but it does nothing to prevent individual programs from having their files corrupted. (Maybe all programs ought to use sqlite as their data format, but alas.)