Issue #27 Lifecycle stuff, ready for final review pass

Before I start implementing this all over the place!
okay what is it....space after an "if" or not? The two lines above use different style. I vote for using a space :-)