Added a terrain image publisher and some fixes