Try to solve the automatic page title thing.

Need to dive into this deeper to make it more generic.