messages, dictionary and loading working in gui