add title handlers
Add handlers for title
finish
remove console