Implemented default theme.
Fixed some bugs in default theme.