Your Picture is inside a “Horizontal” Panel, but there is only one element in that Panel. So that Panel is serving no use – just delete it.
You only have one element inside your “Spot” Panel. Again this is undesirable – every “Spot” Panel should at least have a main element as its first element, with all other elements positioned relative to that main element.
More seriously, I’m finding it very hard to read your code. Please format and indent it properly. Code Formatting