more comments. tabs to spaces. clk_1ms freq fix.