Initial import of partially-working system startup stuff.