Misc clean enh

Misc clean and little enh. or fixes.