Solved most of Machine Problem 2. Frame pool buffer is being overrun however.