I'm thinking that even though this script is a great idea it doesn't cover all problems and I find I still need to reboot, so it should be used with caution. Perhaps restarting killed processes would be a better way to proceed. Perhaps even with a sleep time in-between each command to give restarted processes time to recover. Also changing the order of commands might be helpful; as this script, despite killing hildon-home, which normally sorts out my Media-Player Widget problem, doesn't fix the Media-Player Widget problem, for me at least as I still have to run "killall hildon-home" manually after.