Initial stab at xbrz plugin. Probably will not work yet.