Implemented submit of texts and arguments. Still buggy but it's there. And a little small cleanup.