Random crashes and weird behaviour in custom gametype

Are you sure your widget is not null? The only way to be sure is to put a if (Widget!=NULL) before calling any function on it try doing that and see what happens

Another suspicious thing I notice is

Is that normal behavior?