to get the application icon to stay there, open up the application again. when the icon appears control click on it, and select lock to dock, or something to that extent. same goes for dragging it there.
lol, yeah dude, come on. i just glanced, but even my orginal statement of lock on dock was close enough where you should have tried it out. don't worry about messing around with stuff to get it to work. that's how you learn. good luck.