I agree with seanferds suggestions; you should try them first. In particular msconfig (or better, download Autoruns by Sysinternals/Microsoft). Also check your memory/CPU usage. Closing 12 programs down sounds excessive. Whenever I've seen this many programs not responding its been because the system is way under-resourced. Normally adding more RAM fixes the issue. (Note: I started looking at your bio to see if the specs of your tablet are underpowered. In your 364 word bio I saw no mention of your tablet specs. As a rule if you are asking others for help, it's really bad form to expect them to do the groundwork of finding out info like this.... copy the info into your post instead).
Occasionally this won't solve the problem though. There is a free tool from Microsoft called Xperf that gives you more info. You tell it to run and where to put a log file, then you restart and load the log file into xperf. It gives you a graphical representation of what was going on during shutdown (or startup if you choose), and shows how long Windows was waiting for each program. As an example, to log shutdown you might run:
xbootmgr -trace shutdown -noPrepReboot -traceFlags BASE+CSWITCH+DRIVERS+POWER -resultPath C:\BootTrace
One other note - there is a registry setting you can change that tells Windows XP not to wait for programs at shutdown. By default it asks each running program to shutdown and it will wait, indefinitely if needed, until the program has cleanly shut down before Windows will shutdown. The registry key changes this behaviour so it gives each program a set amount of time to close, and if it takes too long it will force shutdown anyway.