Multi-platform divelog in C and Gtk