A few bugfixes and added the ability to automatically extract package resources