plugin skeleton
minor fixes.