Fixes #104. Added a RemoveElement method to gui