Updated error handling, added error contexts. Fixed fullscreen button