added multiplot, and bugfixes in other plots