Changed the dummy messages insertion

Server now inserts 20 messages if there are none. instead of writing a
message every second.