some small code refactorings
added title and subtitle
added some popup stuff