That's really nice, thank you.
Can I make a suggestion, could you add a few lines of explanation to say what you are doing. It would help people to understand what's going on.
I guess that you are editing the inittab file and replacing the getty command with a login command of some sort. Are the angle brackets some sort of redirection? I guess that -f pi is specifying the user, it now doesn't seem to need a password.
The second change seems to be to add the startx command to the end of the profile file so that LXDE is run automatically.