Implemented title screen.
Fixed debugIf bug.