I am such a dumb ass. I was in the middle of debugging the Home/Sleep problem when I started getting really, really annoyed at the load times. On my DS port it's instantaneous, so why the PSP was so much slower was blowing my mind. I spent HOURS debugging various points, but I couldn't figure it out. Then I finally realized you didn't undef ALLOW_TEMPLATES in config.h. I must have skipped over that ifdef code block a million times because I just assumed it was undefined.
I am impressed you had template rebuilding working in the first place, but it's really not necessary on the PSP i don't think, especially considering it goes from taking 30+ seconds to load to taking one or two seconds.
Next I need to figure out the HOME and SLEEP commands, but it's slow going with the lack of documentation and my total PSP newb status.
Well done on the whole port effort btw. You have really done an excellent job from an integration to the original source code point of view, so good it makes me want to delete my DS port in progress out of shame =)