Using resources instead of filesystem paths for graphics in UI