Fixed #48 - improved the start up time

Fixed this by causing a lot of time-consuming operations to be delayed
until after startup.