added extraction of running services and its running time
remove tail newline char when format to json
GUI improvements