Added removeItem error handling

I now throw an error if the user tries to remove a falsy item or doesn't
have a ._layer property