improved snippet handling, supertab default functions