fix parsing of sicstus messages - if body of message is empty, return empty string instead of throwing an exception
changed plugin architecture to only allow a single REPL instance