Fixed translation/compilation errors and added tb for piffla.