code cleanup
implemented autolink
implemented character count
updated links for mentions in detail view