Cleaned out Peal.scala to simplify debugging.