General improvements; buildinfo

See commit message for details. 
@eparejatobes is assigned as a reviewer :v: