Added comments to all files, reduced warnings, tweaked buildpanel a little
Merge branch 'working'