void MainWindow_Loaded(object sender, RoutedEventArgs e)
{
var b = new ImageBrush();
b.ImageSource = configurations.img_background_pic;
this.workspace.Background = b;
int screen_x = System.Windows.Forms.Screen.PrimaryScreen.Bounds.Width;
window_manager.main_canvas = this.workspace;
window_manager.left_tab = left_tab;
//window_manager.right_tab = right_tab;
this.left_tab.load_control(true, 0, screen_x);
//this.right_tab.load_control(false, 2);
//this.right_tab.load_control(true, 2);
debug_canvas.Width = window_manager.main_canvas.ActualWidth;
debug_canvas.Height = window_manager.main_canvas.ActualHeight;
window_manager.main_canvas.Children.Add(debug_canvas);
this.load_locations_on_map(screen_x);
}