Added process functions.
Removed EditMetaData().
Added run X server if the server is not running before creating new terminal.