Added more dialog boxes and fixed a load of bugs.