Removed duplicate image.
Fixed the worst bugs and mistakes. Works somehow.