more or less working mandelbox; fixes