Added fancy logging; improved signal cleaning