Messages

messaging feature added, some minor bugs fixed