Markdown support, added category selector, categories loaded from model
(not fully implemented), fixed bugs #12