One thing to know, if your iPhone is off (really off, not standby), you can hold the Home button and plug it into your computer and iTunes will do a complete factory restore through Recovery Mode.
Easy way to do a repair to original state in one of those "oh $#@!" moments!