Initial commit. Based on @inolen's patch
Issue #1264916 by inolen , adding delete, edit, fixing css problems