Failure mechanisms in thin film field effect transistors