Added source information about where I aquired a lot of the information need for this and wc-mode.