Check to make sure lastFocus is not NULL before using it.

This prevents an app_server crash on startup for me most likely
introduced in hrev45252. (Just a few commits ago)
Remove remaining /trunk/ before file references.