Stuff for file sending
FilePart sending for cli-ui for debugging purposes
eventsystem_stop() for curses ui