Add ui option to delete device & minor bugfixes