One way to be able to bake on a whim is to get your kitchen organized. You might be shocked at all of the extra things you have stored in your cabinets and pantry that you really do not need or that may have gone bad.
It doesn't take too much time to get organized in your kitchen, so that you actually enjoy cooking and baking. If you hate cooking and baking, it should make it more tolerable for you.
I suggest blocking out one hour of time. That is it. And tackle one part of your kitchen that is driving you BATTY. It may be the fridge, the pantry, the cabinets, the spice cabinet...whatever. Take everything out, clean it out and only put things back that are needed and not out-of-date. Be sure to set your timer, so it doesn't become an overwhelming project. You might want to enlist the help of a friend for a "fun" evening EVENT after the kiddies are in bed for the night. If you have older childen, have them help you.
If you buy in bulk, make sure to have labeled containers for your goods. This eliminates open bags and clutter. Again, this does not have to be spendy, you can recycle glass condiment containers, jam jars, or find great deals at garage sales and thrift stores.
It may take a few weeks to get your kitchen organized if you do it in chunks of time, but it will be so much more enjoyable to cook in a de-cluttered kitchen.
Glass storage jars seem to keep food from going bad for a longer period of time with the added benefit of no chemicals seeping into your food. Since they are clear, you can see when you might be running low. Just be sure to wash out the containers before replacing with the next batch, instead of topping off the old with the new! This will ensure that what you are using is always as fresh as possible.