fix openmp bug, other tweaks and fixes
drop C89 - for now
Merge branch 'master' into poski

Conflicts:
	Makefile