libmixer draft

and some hacks