Fixed a couple of bugs in TitleModel.java