Runtime errors fixed, signal polishing