See this thread, post #166 onwards.