Implemented slot number for custom variables.

Slot numbers were't sent before, they were just concatenated which
means that the first custom variable's slot number were sent as 1.
Added _deleteCustomVar method.