fix numerous type errors (caught now!) and new import style
new bootstrap with (limited) types!