bug fixes in the resource package and UI improvements