Removed all dependencies on tornado. Added logging and PID file. Now uses twisted to handle both HTTP and UDP requests without manual threading. Much more responsive and CPU efficient now.