Bug and Warning Fixes

Removed PHP console warnings about split and undefined variables.
Fixed bug with blank - datalist input boxes