fix #10 <br> at sending messages
fix log
improved modulesdir

Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>