Latest patch

This merges my debian packaging with much needed bugfixes.