massive debugging effort and gui creation