Better error display, working require and src attributes (local and remote)