Index: boot/Makefile.common
===================================================================
--- boot/Makefile.common	(revision 7e3581ecf631d2820fa61e8b4bcebda9fac7a246)
+++ boot/Makefile.common	(revision a047aaa4124e2925a3f142f3c586465498393142)
@@ -168,4 +168,5 @@
 
 RD_APPS_NON_ESSENTIAL = \
+	$(USPACE_PATH)/app/barber/barber \
 	$(USPACE_PATH)/app/bithenge/bithenge \
 	$(USPACE_PATH)/app/blkdump/blkdump \
Index: uspace/Makefile
===================================================================
--- uspace/Makefile	(revision 7e3581ecf631d2820fa61e8b4bcebda9fac7a246)
+++ uspace/Makefile	(revision a047aaa4124e2925a3f142f3c586465498393142)
@@ -34,4 +34,5 @@
 
 DIRS = \
+	app/barber \
 	app/bdsh \
 	app/bithenge \
@@ -212,4 +213,5 @@
 	lib/fmtutil \
 	lib/scsi \
+	lib/compress \
 	lib/softint \
 	lib/softfloat \
Index: uspace/Makefile.common
===================================================================
--- uspace/Makefile.common	(revision 7e3581ecf631d2820fa61e8b4bcebda9fac7a246)
+++ uspace/Makefile.common	(revision a047aaa4124e2925a3f142f3c586465498393142)
@@ -144,4 +144,5 @@
 LIBNIC_PREFIX = $(LIB_PREFIX)/nic
 LIBMINIX_PREFIX = $(LIB_PREFIX)/minix
+LIBCOMPRESS_PREFIX = $(LIB_PREFIX)/compress
 
 LIBSCSI_PREFIX = $(LIB_PREFIX)/scsi
Index: uspace/app/barber/Makefile
===================================================================
--- uspace/app/barber/Makefile	(revision a047aaa4124e2925a3f142f3c586465498393142)
+++ uspace/app/barber/Makefile	(revision a047aaa4124e2925a3f142f3c586465498393142)
@@ -0,0 +1,88 @@
+#
+# Copyright (c) 2014 Martin Decky
+# All rights reserved.
+#
+# Redistribution and use in source and binary forms, with or without
+# modification, are permitted provided that the following conditions
+# are met:
+#
+# - Redistributions of source code must retain the above copyright
+#   notice, this list of conditions and the following disclaimer.
+# - Redistributions in binary form must reproduce the above copyright
+#   notice, this list of conditions and the following disclaimer in the
+#   documentation and/or other materials provided with the distribution.
+# - The name of the author may not be used to endorse or promote products
+#   derived from this software without specific prior written permission.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
+# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
+# OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
+# IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
+# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
+# NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
+# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+#
+
+USPACE_PREFIX = ../..
+
+LIBS = \
+	$(LIBGUI_PREFIX)/libgui.a \
+	$(LIBDRAW_PREFIX)/libdraw.a \
+	$(LIBCOMPRESS_PREFIX)/libcompress.a \
+	$(LIBSOFTREND_PREFIX)/libsoftrend.a \
+	$(LIBSOFTFLOAT_PREFIX)/libsoftfloat.a
+
+EXTRA_CFLAGS += \
+	-I$(LIBGUI_PREFIX) \
+	-I$(LIBDRAW_PREFIX) \
+	-I$(LIBSOFTREND_PREFIX)
+
+BINARY = barber
+MATH = y
+
+SOURCES = \
+	barber.c \
+	images.c
+
+IMAGES = \
+	gfx/frame01.tga.gz \
+	gfx/frame02.tga.gz \
+	gfx/frame03.tga.gz \
+	gfx/frame04.tga.gz \
+	gfx/frame05.tga.gz \
+	gfx/frame06.tga.gz \
+	gfx/frame07.tga.gz \
+	gfx/frame08.tga.gz \
+	gfx/frame09.tga.gz \
+	gfx/frame10.tga.gz \
+	gfx/frame11.tga.gz \
+	gfx/frame12.tga.gz \
+	gfx/frame13.tga.gz \
+	gfx/frame14.tga.gz \
+	gfx/frame15.tga.gz \
+	gfx/frame16.tga.gz \
+	gfx/frame17.tga.gz \
+	gfx/frame18.tga.gz \
+	gfx/frame19.tga.gz \
+	gfx/frame20.tga.gz \
+	gfx/frame21.tga.gz \
+	gfx/frame22.tga.gz \
+	gfx/frame23.tga.gz \
+	gfx/frame24.tga.gz \
+	gfx/frame25.tga.gz \
+	gfx/frame26.tga.gz \
+	gfx/frame27.tga.gz \
+	gfx/frame28.tga.gz \
+	gfx/frame29.tga.gz \
+	gfx/frame30.tga.gz
+
+PRE_DEPEND = images.c images.h
+EXTRA_CLEAN = images.c images.h
+
+include $(USPACE_PREFIX)/Makefile.common
+
+images.c images.h: $(IMAGES)
+	$(ROOT_PATH)/tools/mkarray.py images COMPOSITOR_IMAGES $^
Index: uspace/app/barber/barber.c
===================================================================
--- uspace/app/barber/barber.c	(revision a047aaa4124e2925a3f142f3c586465498393142)
+++ uspace/app/barber/barber.c	(revision a047aaa4124e2925a3f142f3c586465498393142)
@@ -0,0 +1,246 @@
+/*
+ * Copyright (c) 2014 Martin Decky
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ * - Redistributions of source code must retain the above copyright
+ *   notice, this list of conditions and the following disclaimer.
+ * - Redistributions in binary form must reproduce the above copyright
+ *   notice, this list of conditions and the following disclaimer in the
+ *   documentation and/or other materials provided with the distribution.
+ * - The name of the author may not be used to endorse or promote products
+ *   derived from this software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
+ * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
+ * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
+ * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
+ * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
+ * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+ * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
+ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/** @addtogroup barber
+ * @{
+ */
+/** @file
+ */
+
+#include <unistd.h>
+#include <stdbool.h>
+#include <errno.h>
+#include <stdio.h>
+#include <malloc.h>
+#include <task.h>
+#include <loc.h>
+#include <fibril_synch.h>
+#include <io/pixel.h>
+#include <device/led_dev.h>
+#include <window.h>
+#include <canvas.h>
+#include <surface.h>
+#include <codec/tga.gz.h>
+#include "images.h"
+
+#define NAME  "barber"
+
+#define FRAMES  30
+
+#define FRAME_WIDTH   59
+#define FRAME_HEIGHT  192
+
+#define PERIOD  1000000
+#define COLORS  7
+
+static char *winreg = NULL;
+static fibril_timer_t *timer = NULL;
+static list_t led_devs;
+
+static canvas_t *frame_canvas;
+static surface_t *frames[FRAMES];
+
+static pixel_t colors[COLORS] = {
+	PIXEL(0xff, 0xff, 0x00, 0x00),
+	PIXEL(0xff, 0x00, 0xff, 0x00),
+	PIXEL(0xff, 0x00, 0x00, 0xff),
+	PIXEL(0xff, 0xff, 0xff, 0x00),
+	PIXEL(0xff, 0xff, 0x00, 0xff),
+	PIXEL(0xff, 0x00, 0xff, 0xff),
+	PIXEL(0xff, 0xff, 0xff, 0xff)
+};
+
+static unsigned int frame = 0;
+static unsigned int color = 0;
+
+typedef struct {
+	link_t link;
+	service_id_t svc_id;
+	async_sess_t *sess;
+} led_dev_t;
+
+static void timer_callback(void *data)
+{
+	pixel_t next_color = colors[color];
+	
+	color++;
+	if (color >= COLORS)
+		color = 0;
+	
+	list_foreach(led_devs, link, led_dev_t, dev) {
+		if (dev->sess)
+			led_dev_color_set(dev->sess, next_color);
+	}
+	
+	frame++;
+	if (frame >= FRAMES)
+		frame = 0;
+	
+	update_canvas(frame_canvas, frames[frame]);
+	
+	fibril_timer_set(timer, PERIOD, timer_callback, NULL);
+}
+
+static void loc_callback(void)
+{
+	category_id_t led_cat;
+	int rc = loc_category_get_id("led", &led_cat, IPC_FLAG_BLOCKING);
+	if (rc != EOK)
+		return;
+	
+	service_id_t *svcs;
+	size_t count;
+	rc = loc_category_get_svcs(led_cat, &svcs, &count);
+	if (rc != EOK)
+		return;
+	
+	for (size_t i = 0; i < count; i++) {
+		bool known = false;
+		
+		/* Determine whether we already know this device. */
+		list_foreach(led_devs, link, led_dev_t, dev) {
+			if (dev->svc_id == svcs[i]) {
+				known = true;
+				break;
+			}
+		}
+		
+		if (!known) {
+			led_dev_t *dev = (led_dev_t *) calloc(1, sizeof(led_dev_t));
+			if (!dev)
+				continue;
+			
+			link_initialize(&dev->link);
+			dev->svc_id = svcs[i];
+			dev->sess = loc_service_connect(EXCHANGE_SERIALIZE, svcs[i], 0);
+			
+			list_append(&dev->link, &led_devs);
+		}
+	}
+	
+	// FIXME: Handle LED device removal
+	
+	free(svcs);
+}
+
+static bool decode_frames(void)
+{
+	frames[0] = decode_tga_gz((void *) frame01_tga_gz, frame01_tga_gz_size, 0);
+	frames[1] = decode_tga_gz((void *) frame02_tga_gz, frame02_tga_gz_size, 0);
+	frames[2] = decode_tga_gz((void *) frame03_tga_gz, frame03_tga_gz_size, 0);
+	frames[3] = decode_tga_gz((void *) frame04_tga_gz, frame04_tga_gz_size, 0);
+	frames[4] = decode_tga_gz((void *) frame05_tga_gz, frame05_tga_gz_size, 0);
+	frames[5] = decode_tga_gz((void *) frame06_tga_gz, frame06_tga_gz_size, 0);
+	frames[6] = decode_tga_gz((void *) frame07_tga_gz, frame07_tga_gz_size, 0);
+	frames[7] = decode_tga_gz((void *) frame08_tga_gz, frame08_tga_gz_size, 0);
+	frames[8] = decode_tga_gz((void *) frame09_tga_gz, frame09_tga_gz_size, 0);
+	frames[9] = decode_tga_gz((void *) frame10_tga_gz, frame10_tga_gz_size, 0);
+	frames[10] = decode_tga_gz((void *) frame11_tga_gz, frame11_tga_gz_size, 0);
+	frames[11] = decode_tga_gz((void *) frame12_tga_gz, frame12_tga_gz_size, 0);
+	frames[12] = decode_tga_gz((void *) frame13_tga_gz, frame13_tga_gz_size, 0);
+	frames[13] = decode_tga_gz((void *) frame14_tga_gz, frame14_tga_gz_size, 0);
+	frames[14] = decode_tga_gz((void *) frame15_tga_gz, frame15_tga_gz_size, 0);
+	frames[15] = decode_tga_gz((void *) frame16_tga_gz, frame16_tga_gz_size, 0);
+	frames[16] = decode_tga_gz((void *) frame17_tga_gz, frame17_tga_gz_size, 0);
+	frames[17] = decode_tga_gz((void *) frame18_tga_gz, frame18_tga_gz_size, 0);
+	frames[18] = decode_tga_gz((void *) frame19_tga_gz, frame19_tga_gz_size, 0);
+	frames[19] = decode_tga_gz((void *) frame20_tga_gz, frame20_tga_gz_size, 0);
+	frames[20] = decode_tga_gz((void *) frame21_tga_gz, frame21_tga_gz_size, 0);
+	frames[21] = decode_tga_gz((void *) frame22_tga_gz, frame22_tga_gz_size, 0);
+	frames[22] = decode_tga_gz((void *) frame23_tga_gz, frame23_tga_gz_size, 0);
+	frames[23] = decode_tga_gz((void *) frame24_tga_gz, frame24_tga_gz_size, 0);
+	frames[24] = decode_tga_gz((void *) frame25_tga_gz, frame25_tga_gz_size, 0);
+	frames[25] = decode_tga_gz((void *) frame26_tga_gz, frame26_tga_gz_size, 0);
+	frames[26] = decode_tga_gz((void *) frame27_tga_gz, frame27_tga_gz_size, 0);
+	frames[27] = decode_tga_gz((void *) frame28_tga_gz, frame28_tga_gz_size, 0);
+	frames[28] = decode_tga_gz((void *) frame29_tga_gz, frame29_tga_gz_size, 0);
+	frames[29] = decode_tga_gz((void *) frame30_tga_gz, frame30_tga_gz_size, 0);
+	
+	for (unsigned int frame = 0; frame < FRAMES; frame++) {
+		if (frames[frame] == NULL) {
+			printf("Unable to decode frame %u.\n", frame);
+			return false;
+		}
+	}
+	
+	return true;
+}
+
+int main(int argc, char *argv[])
+{
+	if (argc < 2) {
+		printf("Compositor server not specified.\n");
+		return 1;
+	}
+	
+	list_initialize(&led_devs);
+	int rc = loc_register_cat_change_cb(loc_callback);
+	if (rc != EOK) {
+		printf("Unable to register callback for device discovery.\n");
+		return 1;
+	}
+	
+	timer = fibril_timer_create(NULL);
+	if (!timer) {
+		printf("Unable to create timer.\n");
+		return 1;
+	}
+	
+	if (!decode_frames())
+		return 1;
+	
+	winreg = argv[1];
+	window_t *main_window = window_open(argv[1], true, true, "barber");
+	if (!main_window) {
+		printf("Cannot open main window.\n");
+		return 1;
+	}
+	
+	frame_canvas = create_canvas(window_root(main_window),
+	    FRAME_WIDTH, FRAME_HEIGHT, frames[frame]);
+	
+	if (!frame_canvas) {
+		window_close(main_window);
+		printf("Cannot create widgets.\n");
+		return 1;
+	}
+	
+	window_resize(main_window, 0, 0, FRAME_WIDTH + 8, FRAME_HEIGHT + 28,
+	    WINDOW_PLACEMENT_RIGHT | WINDOW_PLACEMENT_BOTTOM);
+	window_exec(main_window);
+	
+	fibril_timer_set(timer, PERIOD, timer_callback, NULL);
+	
+	task_retval(0);
+	async_manager();
+	
+	return 0;
+}
+
+/** @}
+ */
Index: uspace/app/init/init.c
===================================================================
--- uspace/app/init/init.c	(revision 7e3581ecf631d2820fa61e8b4bcebda9fac7a246)
+++ uspace/app/init/init.c	(revision a047aaa4124e2925a3f142f3c586465498393142)
@@ -355,4 +355,5 @@
 	int rc = compositor(HID_INPUT, HID_COMPOSITOR_SERVER);
 	if (rc == EOK) {
+		gui_start("/app/barber", HID_COMPOSITOR_SERVER);
 		gui_start("/app/vlaunch", HID_COMPOSITOR_SERVER);
 		gui_start("/app/vterm", HID_COMPOSITOR_SERVER);
Index: uspace/app/vlaunch/vlaunch.c
===================================================================
--- uspace/app/vlaunch/vlaunch.c	(revision 7e3581ecf631d2820fa61e8b4bcebda9fac7a246)
+++ uspace/app/vlaunch/vlaunch.c	(revision a047aaa4124e2925a3f142f3c586465498393142)
@@ -37,12 +37,6 @@
 #include <stdio.h>
 #include <malloc.h>
-#include <io/pixel.h>
 #include <task.h>
-#include <str.h>
 #include <str_error.h>
-#include <loc.h>
-#include <fibril_synch.h>
-#include <io/pixel.h>
-#include <device/led_dev.h>
 
 #include <window.h>
@@ -64,28 +58,5 @@
 #define LOGO_HEIGHT  66
 
-#define PERIOD  1000000
-#define COLORS  7
-
 static char *winreg = NULL;
-static fibril_timer_t *timer = NULL;
-static list_t led_devs;
-
-static pixel_t colors[COLORS] = {
-	PIXEL(0xff, 0xff, 0x00, 0x00),
-	PIXEL(0xff, 0x00, 0xff, 0x00),
-	PIXEL(0xff, 0x00, 0x00, 0xff),
-	PIXEL(0xff, 0xff, 0xff, 0x00),
-	PIXEL(0xff, 0xff, 0x00, 0xff),
-	PIXEL(0xff, 0x00, 0xff, 0xff),
-	PIXEL(0xff, 0xff, 0xff, 0xff)
-};
-
-static unsigned int color = 0;
-
-typedef struct {
-	link_t link;
-	service_id_t svc_id;
-	async_sess_t *sess;
-} led_dev_t;
 
 static int app_launch(const char *app)
@@ -129,79 +100,8 @@
 }
 
-static void timer_callback(void *data)
-{
-	pixel_t next_color = colors[color];
-	
-	color++;
-	if (color >= COLORS)
-		color = 0;
-	
-	list_foreach(led_devs, link, led_dev_t, dev) {
-		if (dev->sess)
-			led_dev_color_set(dev->sess, next_color);
-	}
-	
-	fibril_timer_set(timer, PERIOD, timer_callback, NULL);
-}
-
-static void loc_callback(void)
-{
-	category_id_t led_cat;
-	int rc = loc_category_get_id("led", &led_cat, IPC_FLAG_BLOCKING);
-	if (rc != EOK)
-		return;
-	
-	service_id_t *svcs;
-	size_t count;
-	rc = loc_category_get_svcs(led_cat, &svcs, &count);
-	if (rc != EOK)
-		return;
-	
-	for (size_t i = 0; i < count; i++) {
-		bool known = false;
-		
-		/* Determine whether we already know this device. */
-		list_foreach(led_devs, link, led_dev_t, dev) {
-			if (dev->svc_id == svcs[i]) {
-				known = true;
-				break;
-			}
-		}
-		
-		if (!known) {
-			led_dev_t *dev = (led_dev_t *) calloc(1, sizeof(led_dev_t));
-			if (!dev)
-				continue;
-			
-			link_initialize(&dev->link);
-			dev->svc_id = svcs[i];
-			dev->sess = loc_service_connect(EXCHANGE_SERIALIZE, svcs[i], 0);
-			
-			list_append(&dev->link, &led_devs);
-		}
-	}
-	
-	// FIXME: Handle LED device removal
-	
-	free(svcs);
-}
-
 int main(int argc, char *argv[])
 {
 	if (argc < 2) {
 		printf("Compositor server not specified.\n");
-		return 1;
-	}
-	
-	list_initialize(&led_devs);
-	int rc = loc_register_cat_change_cb(loc_callback);
-	if (rc != EOK) {
-		printf("Unable to register callback for device discovery.\n");
-		return 1;
-	}
-	
-	timer = fibril_timer_create(NULL);
-	if (!timer) {
-		printf("Unable to create timer.\n");
 		return 1;
 	}
@@ -262,6 +162,4 @@
 	window_exec(main_window);
 	
-	fibril_timer_set(timer, PERIOD, timer_callback, NULL);
-	
 	task_retval(0);
 	async_manager();
