added some error checking in xinit (fixed the segfault caused by a missing font)