unhandled exception an tab control fixed -- now refactor + tests