Fix bug form for the case when there are less than 4 custom fields
Experimental implementation of select fields as hinted editboxes