[R2D] Fixed initialization issues with Path objects
[R2D] Switched to a Layout system similar to WPF's