bugfixes needed to implement the terminal service; removed demo applications