cleaned up exceptions, fixed penup and pendown error
cleaned up exceptions