more bug fixes

strip white spaces for table names
error handing when no data exits
made bootstrap css local