Fixed some minor bugs in layout and string resources.