Fixed all demos and tests + added minification tasks for patches