Fixed a number of bugs including failing to install LXDE and scratch