mod: better error handling in screen_init