Try percentage based start limit.
Add function for communicating with xbmc.
Fix percentage code.
fx xbmc
Differentiate between "start" and "playlist" requests.
Try new way of terminating mjpeg streams.