Initial work...debugging.
Working pipeline.
Minor cleanup for IE and firefox issues.