nicer prompt with title setting and puppet state support