interface and debug

interface and debug change style and debug some bug
Merge branch 'client' of https://github.com/slixurd/tNotes into client