added inputfordialog
added delete function to JpaBaseDao
added convienece EntityWorker to wrap threads needing an entityManager