Added a Texfield to provide some little info about the cause. Switch
function implemented. Has yet to be tested.