major/important player feature improvement and code refactoring. Also adds partial style for player.