working 2013 theme, fix other minor bugs in layout and cts