A few minor fixes and added debian package requirements to the top

k