Fix options defaults and added method to destroy layers