Code refactored. Bug-fixes. Rewritten styles.