Basic buggy 1.5.1 straight port

basic very buggy 1.5.1 straight port, still some NP while running 
started rewrite of render engine