Added basic statechange handling, updated frontpage text