Cleaned up code also fixed bug concerning random zoom's switching to other destinations. (fixed last commit but forgot it in the commit message)