added message snippets, basic dialog system, fixes