Add service mode, compatible with ThisService from http://wafflesoftware.net/thisservice/.