Attempt at a FB chat manager based on online examples and snippets.