Disclaimer:I know that this code is horrible, it looks like a riddle. I'm trying to do a rework of it, regarding:

Here's the code to rework. Good luck and don't get afraid if you would like to get a point of view! If you could give me some advice if it's possible, I'll really appreciate it!

Note: I'm not looking for somebody else to rewrite my code, thanks!

Working on it again...I'll show it up again a little later
[download]